package com.tools_s7.adapter;

import android.widget.TextView;

import com.tools.s7.recycler.BaseStaggeredAdapter;
import com.tools.s7.recycler.holder.BaseViewHolder;
import com.tools_s7.R;

public class StaggeredAdapter extends BaseStaggeredAdapter<String> {
    @Override
    protected int getLayoutId() {
        return R.layout.staggered_item;
    }

    @Override
    protected void bindData(BaseViewHolder holder, int position, String data) {
        TextView textView = holder.getView(R.id.staggered_text);
        textView.setText(data);
    }
}
